package com.mes.biz.service;

import com.mes.biz.domain.BizOrderAccessory;
import com.mes.biz.domain.BizOrderMaterial;
import com.mes.biz.domain.BizParts;
import com.mes.common.core.service.BaseService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 销售单物料Service接口
 * @author wy
 * @email wy
 * @date 2023-06-20
 */
public interface BizOrderAccessoryService extends BaseService<BizOrderAccessory> {


    public int deleteBizOrderAccessoryByIds(String[] ids);

    /**
     * 创建配件单
     * @param bizOrderAccessory
     * @return
     */
    public BizOrderAccessory create(BizOrderAccessory bizOrderAccessory);

    /**
     * 修改配件单
     * @param bizOrderAccessory
     * @return
     */
    public boolean update(BizOrderAccessory bizOrderAccessory);

    /**
     * 根据配件单编号查询配件单信息
     * @param accessoryNumber
     * @return
     */
    BizOrderAccessory getBizOrderAccessoryByAccessoryNumber(String accessoryNumber);
}
